<?php

class SiteController extends PortalController
{
	public function actionIndex()
	{
		$this->render('index',$this->data);
	}

    public function actionChangelang(){
        Yii::app()->request->cookies['lang'] = new CHttpCookie('lang', $_GET['lang']);;
        echo true;
    }

}